check if string is number or not php

189

php check if string or number -

 <?php if (is_numeric(887)) { echo "Yes"; } else { echo "No"; } ?>

Comments

Submit
0 Comments